Skip to main content
Version: Mosquitto 2.8

Overview

Mosquitto - an MQTT broker

Mosquitto is an open-source lightweight message broker to enable communication between sensors, smartphones, web apps, and other devices within an IoT architecture. Pro Edition for Mosquitto MQTT broker is a more powerful and fully supported version of Mosquitto tailored for commercial use, offering complete compliance with MQTT versions 3 and 5.

In this documentation a lot of basic configuration and underlying principles are described. Most of this knowledge is not needed while using the Mosquitto UI called Mosquitto Management Center.

Configuration

The broker can be configured using a configuration file as described in configuration

Basic Monitoring

System topics keep track of system relevant monitoring parameter. See here a full list.

Files

Files which are being used by the broker:

  • mosquitto.conf

Configuration file. See Mosquitto Configuration for more information.

  • mosquitto.db

Persistent message data storage location if persist enabled. autosave_interval secondssets the number of seconds that mosquitto will wait between each time it saves the in-memory database to disk. If set to 0, the in-memory database will only be saved when mosquitto exits or when receiving the SIGUSR1 signal. Note that this setting only has an effect if persistence is enabled. Defaults to 1800 seconds (30 minutes). This option applies globally. Reloaded on reload signal.

  • dynamic-security.json

Persists the current dynamic security configuration to disk.

  • streams.json

Persists the current streams configuration to disk.

  • license.lic

License file for Pro Mosquitto features from Cedalo Gmbh.

Platform limitations

Some versions of Windows have limitations on the number of concurrent connections due to the Windows API being used. In modern versions of Windows, e.g. Windows 10 or Windows Server 2019, this is approximately 8192 connections. In earlier versions of Windows, this limit is 2048 connections.